home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 143 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.1 KB

  1. Path: lyra.csx.cam.ac.uk!nmm1
  2. From: nmm1@cus.cam.ac.uk (Nick Maclaren)
  3. Newsgroups: comp.std.c
  4. Subject: Re: atexit() and return from main()
  5. Date: 18 Jan 1996 22:32:57 GMT
  6. Organization: University of Cambridge, England
  7. Message-ID: <4dmhqp$ab2@lyra.csx.cam.ac.uk>
  8. References: <4dhfja$j50@fg70.rz.uni-karlsruhe.de> <821923074snz@genesis.demon.co.uk> <4dkvjk$6q5@lyra.csx.cam.ac.uk> <TANMOY.96Jan18084025@qcd.lanl.gov>
  9. NNTP-Posting-Host: apus.cus.cam.ac.uk
  10.  
  11. In article <TANMOY.96Jan18084025@qcd.lanl.gov>,
  12. Tanmoy Bhattacharya <tanmoy@qcd.lanl.gov> wrote:
  13. >
  14. >Neither of these is permitted in any sense that I understand!
  15. >7.10.4.3: If more than one call to the exit function is executed by
  16. >a program, the behaviour is undefined. No `permission by omission'
  17. >that I can see.
  18.  
  19. Egg on my face time :-)
  20.  
  21. I cannot imagine how I missed that, unless it was added at a very
  22. late stage.  Anyway, I agree that (with the 'return from main')
  23. clarification, the standard is now unambiguous.
  24.  
  25.  
  26. Nick Maclaren,
  27. University of Cambridge Computer Laboratory,
  28. New Museums Site, Pembroke Street, Cambridge CB2 3QG, England.
  29. Email:  nmm1@cam.ac.uk
  30. Tel.:  +44 1223 334761    Fax:  +44 1223 334679
  31.